2. ton tof timer
你好。
Hello.
在本教程中,我们将学习如何使用快速编程语言来使用计时器?
In this tutorial, we will learn how can we work with the timer in a speedy programming language?
通常我们使用计时器,将T放在白键上,放在块上。
Normally we work with the timers, with the T on white key, on blocks.
这里的块是相同的。
The blocks is same in here.
如果我写在这里,只要发球就OK,那么定时器就会被定义。
If I write here, just tee on OK, then the timer will be defined.
但好吧,我按下并输入并输入。
But OK, I pressed and enter and enter.
还行吧。
This is OK.
我会删除一个,然后再给你看一次。
I will delete one and I will show it to you once more.
就开球吧。
Just tee on.
像那样。
Like that.
这将通过这里插入,我会说,好的,非常好,然后我将与 T 一起工作,我们需要一个输入,好的,带有结束条件或块输出,我将每年连接它这里的时间我只会写,例如,三秒,我会将它连接到计时器的设置值,而经过的时间并不重要。
And this is going to be inserted through here, and I will say, OK, very good, then I will work with the T on we need an input, OK, with the end condition or and block output, I will connect it per year and the time here I will just write, for example, three second like that and I will connect it to set value of the timer and elapsed time doesn't matter.
输出并不重要。
Output doesn't matter.
好的。
OK.
这是计时器到期的。
This is due on timer.
而且,也许我们可以使用这里的计时器以及 M5 中的类似功能。
And also, maybe we can work with the timer here and the similar thing from the M5.
我会把它放到这里和这里T,例如两秒。
I will put it to here and here T, for example, two seconds.
输出并不重要。
And output is doesn't matter.
好的,棒极了。
OK, very good.
我将重建我的所有项目。
And I will just rebuild all my project.
根据这些条件会发生什么?
What will happen according to these conditions?
我的计时器将打开或关闭。
My timers will be on or off.
并且根据定时器完成,我的定时器输出将打开和关闭,好吗?
And according to the timer is finished, my timer output will be on and off, OK?
我会很好地关闭它。
And I will close it very good.
现在已经准备好了。
And now it is ready.
让我们将计时器设置为 0 和 1,然后再设置为 2 和 3,我们就得到了输出。
Let's make it zero is on and and one is on the timer one, two three and we have an output.
好的?
OK?
而另一个条件,让我们继续执行,然后我们仍然有一个突然为真的输出。
And the other condition, let's make it on, then we still have an output suddenly true.
让我们造假。
And let's make false.
这是错误的。
And this is false.
我的计时器没有被计算在内。
My timer is not counted.
为什么?
Why?
让我们来看看。
Let's take a look.
再次定时器的数量。
Quantity of time timer again.
好吧,突然我们有了输出,哦,抱歉,抱歉,因为这次我们没有连接。
OK, suddenly we have an output and oh, sorry, sorry for that, because we didn't connect this time.
时间的波动性。
Volatility of time.
我将关闭连接到此处的模拟器。
I will close a simulator that's connected to here.
非常好。
Very good.
这确实是。
And this really.
好的。
OK.
先转换一下。
Convert firstly.
好吧,重建一切,我会说,好吧。
OK and rebuild all, and I will say, OK.
停止模拟器并运行,再次模拟器。
Stop the simulator and run, simulator it again.
那么会发生什么,这将在五天内发生。
So what will happen, this will be on in five.
怎么M3还是M4?
How M3 or M4?
让我们为两个人做吧,这是真的。
Let's make em for two and this is true.
让我们把它变成假的。
And let's make it false.
好的。
OK.
然后两秒之后,就结束了。
Then after two, second, this is off.
好的,理论时间到了。
OK, theory time.
它也值再次从零到一,然后从一到三。
It is also worth zero and one again, then one to three.
我们有看跌期权。
And we have an put.
这就是我们如何使用计时器。
This is how we can work with the timers.
以及我们能做什么。
And also what we can do.
我要向您展示的另一件事以及我将写到这里的输出。
One more thing that I'm going to show to you and this output I will write to here.
好吧,怎么上。
OK, how to on.
像那样?
Like that?
丘角,好的。
Point Chiou, OK.
该输出将打开,然后我们将激活该计时器。
This output will be on and then we will activate this timer.
然后根据该信息,程序块将再次运行该转换后的内容。
And then according to that, the program block will run this converted again once more.
我也在尝试如何使用FPGA编程语言或技术?
And I am also trying to how can we work with the FPGA programming language still or techniques?
首先,我们写信给中华人民共和国以及将会发生什么。
And then firstly, we write to the PRC and what will happen.
首先,我们需要激活零个,然后激活从块中激活的一个。
First, we need to activate zero and then one that's activated from the block.
三点之后确实如此。
This is true after three.
其次,这将是真实的、真实的、真实的。
Second, this will be true and true and true.
然后会发生什么?
And then what will happen?
我们需要。
We need to.
因此破坏了街区的条件,我会离开。
Break the condition of the block because of that, I will make an off.
两秒后,这将是错误的。
And after two seconds, this will be false.
好的。
OK.
这确实很基础,有时也可以在 FPGA 编程语言中使用。
This is really basic and this is how can be used at times in into FPGA programming language.
参见网络教程。
See you internet tutorial.